package one.stand.fallback;

import com.jmp.feign.UserFegin;
import one.stand.model.ResultModel;
import one.stand.request.BusinessCardRequest;
import org.springframework.stereotype.Component;

/**
 * @author: QIK
 * @CreateDate: 2019/4/16 14:44
 */
@Component
public class UserFallBack implements UserFegin {

    @Override
    public ResultModel<Boolean> updateCard(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getUserCard(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }
}
